package testpackage.service;

import springIoc.AutoWired;
import testpackage.dao.Dao;
import testpackage.dao.DaoInterface;

@springIoc.Service
public class Service implements ServiceInterface {
    @AutoWired("testpackage.dao.Dao")
    private DaoInterface dao;

    public void test() {
        System.out.println("service test method invoke");
        dao.test();

    }
}
